!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[Container_VerticalRibbonArea]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[Container_VerticalRibbonArea]"]=t(require("react")):e["rb_wixui.thunderbolt[Container_VerticalRibbonArea]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={5329:function(t){"use strict";t.exports=e},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const r=[];return e&&r.push(`${c}${e}`),t.forEach((e=>{e&&(r.push(`${c}${e}`),r.push(e))})),r.join(" ")};var u={root:"box"};const d=e=>Object.entries(e).reduce(((e,[t,r])=>(t.includes("data-")&&(e[t]=r),e)),{});const f=13,p=27;function m(e){return t=>{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}m(32),m(f),m(p);const b=["aria-id","aria-metadata","aria-type"],v=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>(t.includes(r)||(e[r]=n),e)),{}),h="mesh-container-content",y="inline-content",x=e=>s().createElement("div",{key:e.props.id+"-rotated-wrapper","data-mesh-id":e.props.id+"-rotated-wrapper"},e),C=(e,r)=>{const{id:n,className:o,wedges:i=[],rotatedComponents:c=[],children:l,fixedComponents:u=[],extraClassName:f="",renderRotatedComponents:p=x}=e,m=s().Children.toArray(l()),b=[],v=[];m.forEach((e=>u.includes(e.props.id)?b.push(e):v.push(e)));const C=(e=>{const{wedges:t,rotatedComponents:r,childrenArray:n,renderRotatedComponents:o}=e,a=r.reduce(((e,t)=>({...e,[t]:!0})),{});return[...n.map((e=>{return a[(t=e,t.props.id.split("__")[0])]?o(e):e;var t})),...t.map((e=>s().createElement("div",{key:e,"data-mesh-id":e})))]})({childrenArray:v,rotatedComponents:c,wedges:i,renderRotatedComponents:p});return s().createElement("div",t()({},d(e),{"data-mesh-id":n+"inlineContent","data-testid":y,className:a(o,f),ref:r}),s().createElement("div",{"data-mesh-id":n+"inlineContent-gridContainer","data-testid":h},C),b)};var g=s().forwardRef(C),E="J6KGih";const w=(e,r)=>{const{id:n,className:o,meshProps:s,renderSlot:c,children:l,onClick:u,onKeyPress:f,onDblClick:p,onFocus:m,onBlur:h,onMouseEnter:y,onMouseLeave:x,translations:C,hasPlatformClickHandler:w,a11y:_={},ariaAttributes:j={},tabIndex:N,role:O,style:R,lang:k}=e,A=i.useRef(null),{"aria-label-interactions":M,...P}=_;M&&(P["aria-label"]=(null==C?void 0:C.ariaLabel)||"Interactive element, focus to trigger content change");const S={id:n,children:l,...s},I=a(o,{[E]:w});return i.useImperativeHandle(r,(()=>({focus:()=>{var e;null==(e=A.current)||e.focus()},blur:()=>{var e;null==(e=A.current)||e.blur()}}))),i.createElement("div",t()({id:n},d(e),{ref:A,className:I,onClick:u,onKeyDown:e=>{f&&(" "===e.key&&e.preventDefault(),f(e))},onFocus:m,onBlur:h,onDoubleClick:p,onMouseEnter:y,onMouseLeave:x,style:R,lang:k},P,(({role:e,tabIndex:t,tabindex:r,...n}={})=>{const o=Object.entries(n).reduce(((e,[t,r])=>({...e,[`aria-${t}`.toLowerCase()]:r})),{role:e,tabIndex:t??r});return Object.keys(o).forEach((e=>{void 0!==o[e]&&null!==o[e]||delete o[e]})),v(o,b)})({...j,tabIndex:N,role:O})),c({containerChildren:i.createElement(g,S)}))},_=i.forwardRef(w);var j="NzPX8Z",N="lBcHAJ",O="cEVeFE",R="gwTnEh",k="el8JM2";const A=(e,r)=>i.createElement(_,t()({},e,{ref:r,className:a(j,e.className),renderSlot:t=>{let{containerChildren:r}=t;return i.createElement(i.Fragment,null,i.createElement("div",{className:a(N,l(u.root,...e.customClassNames||[]))}),i.createElement("i",{className:O},i.createElement("b",{className:R}),i.createElement("b",{className:k})),r)}}));const M={Container_VerticalRibbonArea:{component:i.forwardRef(A)}}}(),o}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[Container_VerticalRibbonArea].834bc146.bundle.min.js.map